how to fail a pulmonary function test