The fix for bug 586330 caused some unexpected behaviour changes, that this testcase ought to illustrate.