Updated tests for streams