Add tests for test low level query and connection methods.