Test and fix fetch_assets.