Added unittest for EventService