Update
Compare etrees, 1st assertion passing

Explicitly check the XMLException error message
Refactor test code