Test searching for an event