fix and test EnvironmentHelper