EnvironmentService tests