only load config from environment if not in test