Fixed the mongo tests so that the tests succeed.