Added more tests to check XML validation