Hmmm, still not sure the best way to test STDOUT..
I've done it like this in the past? But then you get warnings
`already initialized constant STDOUT` etc...