Set TEST_ENV in script.