The test was correct, and e4729afdbf fixes the bug. This reverts commit 4eaab11d14.
e4729afdbf
4eaab11d14
block' to