Testing for console output