Pull Request for spec file of environment class

Pull Request for spec file of environment class