added test for events search