Testing MongoDB with Python