Added some unit tests for the Streams utilities.