make mongodb tests pass