Cleaning stream.tests.js