Added test for search#query