Test set undefined or immutable name
Use defineLocalVariable