Fix broken XML serialization test.