Enhanced MongoDB test.