test: Merged test.js and stream.js