Moved the $TMP environment variable.

Even though both the integration test and the client test required both
to be set, $TMP was only set for the configuration test. To set it for
both, the assignment was moved to test/tests/__init__.py