Added rest mock