Tests for environment set.