test case be compatible with mongodb 2.2.2