Fixed test for mongodb 2.4