Fix tests which send XML body