rest-ful action tested