Pulmonary function tests are used to determine how well your lungs are working. They are typically completed in addition to allergy tests. The three main tests are spirometry, plethysmography and diffusion capacity.