Fix test for #2668.