new: dev: added a unit test for environment manager @minor