Updated test for #21978