random environment test