changes in REST tests, should work accordingly