using a factory in order to be able to inject the desired behavior into the existing StdCouchDbConnector