Test task: StreamSampling