tests; more query tests