utils.RunCmd: Test case with reset_env set and setting variables