Updated RestConsumer Test and changed IFactory name