The test did not fail actually. It just behaved strangely and got stuck in the good case, which is fixed now. Fixes #1121.