restful test