adding query_test