update mutators when creating local variables through typeblocks

Change-Id: I97b57146a1d11a47d75056a6a01ce09808156765
Added a new test for HelloPurr, and the files required.

Change-Id: I94e8db5805f03fecbdbb5b40326abc9adee9851d