Test for environment.