Adds unit tests about streams.