Your health care provider may do the following tests:  A chest X-ray or CT scan. Imaging tests can often show a fungus ball. Respiratory secretion, or spit test. Tissue and blood tests. Biopsy of the lungs or sinuses.