Adding tests for environments.