Setup the required environment variable before running each test.

Earlier, I was exporting this variable manually from the command line.