Use a specific envvar instead of TESTING

We should use fine-grained environment variables instead of general ones
like "TESTING."
Merge pull request #2497 from gittip/specific-envvar

Use a specific envvar instead of TESTING