Certain tests may be done to check for brain problems. These tests may include:  Electroencephalogram, or EEG. Magnetic resonance imaging, or MRI.