Updated testSearchWithQueryString test