Testing XML parsing methods