env_refresh test fix