More robust function-name testing in CUT-TO-WIDTH