Tests for coughing up blood