Good point. Actually between testcases the collection is being dropped and created, so the indexes are dropped as well, but sometimes we call ensureIndexQuality a few times in one test case. I will take care of that.