testing RESTful API's