getEventByID added with test