reset query_count and queries before each test.