set the evironment variables for test mode