Added client tests for xml parsing
Response cleanup.