Automatically set up SECRET_KEY if AND ONLY IF we are in tests.