Fixed Construction, simplified to XmlTag, added Karma Test Cases