mocking setQueryField