Allow adding alternative client types

In my case it's mongomock.MongoClient for unit testing.