There are some instances that refer to a variables by name instead of id such as Blockly.FieldVariable.setValue(newName). Change all these instances to use the id of variables. Update tests that pass in names instead of values.
There are some instances that refer to a variables by name instead of id such as Blockly.FieldVariable.setValue(newName).
Change all these instances to use the id of variables. Update tests that pass in names instead of values.