adding rspec resting and class method for calling RpcClient.execute