Fix XML serialization test.