fix test for env variables