Testing should be based on the history and examination and helps rule out various causes: A complete blood count (CBC) for anemia or leukocytosis Blood glucose measurement for hypoglycemia or hyperglycemia Electrolyte measurement for dehydration Tests such as electrocardiography (ECG), ambulatory cardiac monitoring, and echocardiography are recommended only when a cardiac cause is suspected.