Avoid using a static variable to pass a MongoDatabase instance to the test driver constructor.