Tools for testing stdout, stderr, and stdin