add new helper env_assist.py for revert environment to predefined state before test

Change-Id: I552857d42ed94edb6656a71d6fe3b6694b053bf6