added test for xml view