the test should provide the query string, not the mock obj