resolve vars using new environment, all tests green