Test case for serializing grouped child objects