tests for xml to json