regression test for issue 13414