Add some unit tests for XML unparser.