Add new unit test case for ENV substitution