Added MongoConfiguration and MongoConfiguration for testing purposes.