Fixed issue with bad XML response parsing. Updated tests.
Merge remote-tracking branch 'origin/release77' into dev