test for search result