writes unit tests for StreamUtil