Fixed tests for MongoStore