Adds some tests around StdOutput