It's more declarative this way. Stream that whole package writes into can be defined by changing global variable. At tests we only change ``DEFAULT_STREAM`` - we don't need to pass stream to the main function.

Feel free to refactor, though. It's just more clean in my opinion.