Add testcase for #11224