tests for EventService