Fix sense of environment-encoding test.