adding crude query tests