updated unit tests to match new DBclient object