Add tests for EventsHelper.