Add extra unit tests to test XML validity