Finish tests on Database Connector and Query