changed senders to streams in test code