Electromyography (EMG). This test measures the electrical activity of muscles. EMG helps evaluate and diagnose muscle and nerve disorders and can help confirm whether you have cervical dystonia or another condition. 22