enabled two db instances for (travis ci) tests, removed client.constructorOf() and using references on constructor instead