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