Fix test after the convert_to_long be improved, see #64290