refactoring StreamTestSupport