more query tests