Add test for bug #60598

Testing bug #60598 (segmentation fault on object manipulation)