getEventsWithName test added