Add ENVIRONMENT constant to unit tests