use HTML parser instead of XML and add nasty HTML tests