Test for PodioObject serialization