Test mock module for MongoDB class