Sputum Test Sputum Test Samples of sputum (phlegm) coughed up from the lungs can be tested for the bacteria or fungal infection. Fresh morning sample is preferred. Sputum AFB Smear and Culture Go to packages