mongodb test fix