New tests for XMLUtils