Test fix for RestClient exceptions.