A lot more tests for the xml output
More tests and delete some code
Implement <bcp14> support