Fix/test for some pyobject -> ?T copy cases