Added failures for bad XML and bad MathML