The bacteria can be detected in stool samples and in foods. The toxin also can be found in serum, which is the watery portion of blood. Electromyography, or EMG, is measurement of a muscle's electrical activity. This test may be ordered to measure the electrical activity of the muscles. Brain scans and spinal fluid exams can also be helpful in making the diagnosis.