Added test for the search