test bubbling of errors in Duplex mode

I spent some time digging on why your modified test case goes through.

This modification breaks it. In fact, with you setup (Readable, Transform, Writable) you are not getting a Duplex.

try with (Transform, Transform, Transform) and you will see the 5 errors bubbling.