Use stack local variables in tests.

To create one tests from affecting another.