Can we add a test case that

* fails with the old code (i.e. tries to send a block of length 0 - from what I understand, that was the problem?)
* succeeds after the change?