Updated testGetEventsWithLocation