Added nodeTree to run-test error output.
Added attribute output to generated HTML.
Fixed attribute creation for Element nodes.
Added a small test for tags.