Small fix in classEnv tests