Since $TESTTMP and $TESTDIR are defined for both the main scope and the test run
run during the test, the situation get confusing. To work around that, we
during the test, the situation get confusing.define some new, To work around thatexplicit, we definevariables with the values we needs to keep track
some explicit variable with the value we needsof.