Add regression test for #1424

[closes #1424]