Adding tests for xml parsing