more query tests, tests for request