Handle a variable being set multiple times properly.
One more semicolon issue: don't put them at the end of lines that begin with #
Update test