Fix split test unicode issues

Unicode error would happen when unit name contained non-ascii characters.