Added test for xml parser