Ensure that generated-code-dependency tests use locals.

Some of these tests were sharing globals

Review URL: https://api.github.com/repos/google/traceur-compiler/issues/1265

Closes #1265.