test for event key