Added std out and test for std in.