CFY-616 use new rest client mock in test