Rack::ClientSpec can test your client implementation.