These tasks mix the unit on new code. Half of them ask you to write the test, and the other half ask you to build the boundary that makes code testable: a result type, a caching adapter behind a port, an error translator, an unsubscribe function and an injected id generator.
Each has an edge on purpose: a slug with mess at both ends, a refused transfer that must leave no audit line, a timeout that resets on activity, an empty value that JavaScript reads as 0, a cached undefined, a 429 inside the 4xx range, unsubscribing twice, and two generators that must not share a counter. Name the edge before you write the code.
has() tells a cached undefined from an entry you never stored.