WIP: failing testcase for #658

do not merge