Pulmonary function test and arterial blood gases