test new search query method