I fixed `normalizeTags` in `src/normalize-tags.mjs`, and `npm test` now passes.

The function was removing duplicates using each tag after trimming but before lowercasing. That meant `"BETA"` and `" Beta "` were treated as different tags, and `"beta"` showed up twice in the output. It now removes duplicates after lowercasing, as the contract requires.