Added rest test