Added test case for xml translator