some restclient tests