fixed tests mongodb