how to test for epilepsy in adults