Ensure failure output is printed when stubbing stdout