Add regression test for #15321

Authored by osa1 on Wed, Jul 4, 8:43 AM.