failing test case for #1538

Not ready for merge - just a (failing) test case for now. See #1538.