added test for custom search event for input with type of search