testcase to model Environment