Fix MongoDb integration tests