Add test case for #12109