test: first: add test for closing down stream