added partial python coverage for xml and modify xml file