Fix XmlType unit tests