Add test for issue #13214

Closes #13214