Add a (failing) test for #622