working tests
updating for environment variable settings