testing restful