Type-based test for Channel.fail/receive exception throwing