test client for streaming