[tests] add expected results' files
[tests] use exepected results' files, and use more complete test cases
[tests] now covers 100% of toXml() method
remove useless extra line