Fix tests after e7adc8a enforced correct REST calls.