Added testcases and parsing of xml response