Add test case for issue #11681

closes #11681