Test Class for MongoDB Connector