testing restclient