Port objects + test_objects to python3.