Add junit coverage to XmlUtil class