Add a test case to check XML/dict symetric translations

One would expect that converting XML to dict and converting this dict back to XML restores the initial XML file. Extra <#value>...</#value> are inserted.

This pull request adds a test case that reproduces the issue.