resty unit tests