Tested createEvent.