Adds test for streams