What tests are used to diagnose epilepsy?

Several. The most useful is an examination by a neurologist. Often we doo an EEG, MRI of the brain, and occasionally other tests.