Fix test after fix for #1649