Stub MongoClient for testing code invoking static methods