After a physical examination, the healthcare provider may order further tests. A chest x-ray may be done if lung disease is thought to be the cause. A sleep study, called polysomnography, may be done if sleep apnea is suspected. A blood test called a complete blood count (CBC) may be ordered if anemia or an infection is suspected. Other tests may also be needed in some cases.