(CFACT-91) Add unit test for scoped_env and environment::clear