test enviroment is set