add RestResponse tests