Add streams.out and tests