Add environment tests.