added _getUri so _getRpc lazy initialization knows where to point the client; updated unit test