Testing Restful webservice