Added more tests for MongoDB.