Fix invalid XML
updated tests
Merge pull request #4 from abbert/master

Fix invalid XML