test database connector and query , completed