Add test for issue #13446

Closes #13446