add test for xml output