Zero is a potential valid return value for our `read(byte[], int, int)` method (if the passed length is zero), but this test will not trigger that, so the work-around seems possible in this limited scope.

I'll make the change.