Fix tests with MongoDB 2.5.x and --nojournal.