General Surgery - Tests Before Surgery Electrocardiogram (ECG or EKG) Urinalysis - may be used to diagnose kidney and bladder i lso detect drugs present in the body. White blood count - may be used to diagnose fever of unknown origin, infection, and use of drugs known to affect white blood counts.