fixed side effects of stream reuse

reinit for each test