Added some more tests to SQLQuerySuite