Unit test for issue #25.

Should be fixed after pull request https://github.com/dylang/node-xml/pull/12.
Need to change the dependency version to xml after that.