Add test for #18908