Test that env variable can be used