extend test
fix html-with-tail serialisation test for older libxml2 versions (HTML parser problem)