Noted the existing unit test set for MongoServer is pretty weak, as well as notated with "TODO: more tests for MongoServer". Create and consolidate the body of unit tests for MongoServer.