Quiet printed output in tests