a unit test for environment variables expansion