move tests to SQLQuerySuite