testQueries