Add a (failing) test for #660