Test case for resolve_xml_special_chars