Add testcase for #11493

Is this what you had in mind?

Closes #11493