Fixed the event tests.