Add test for the environment.