testing REST webservice