Add test for #122646