Add a test for #11552

Closes #11552