Test coverage fix for pipes and timeout tests