Add test for #11881