Fix a few tests for MongoDB 2.7.0