more unit test coverage of streams