Mirrors the buildDownloadLink coverage for the chapter link builder, which
shares the same PUBLIC_HOST_URL fallback. Verified red against the unfixed
chapter path.
Addresses CodeRabbit review feedback on PR #1.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>