Add method assertXmlValidDTD with test and doc.