Added test case for templates in tag extensions
XmlAttributeGarbage accepts ParserEntities and the node is now a list instead of a string