require(__dirname).test ( { xml : "" , expect : [ [ "attribute", { name: "ID", value: "hello" } ] , [ "opentag", { name: "SPAN", attributes: { ID: "hello" }, isSelfClosing: false } ] , [ "closetag", "SPAN" ] ] , strict : false , opt : {} } )