updated rest test