Name the tests this PR is missing

Prompt

Review the supplied diff and identify meaningful tests that appear to be missing. For each, give a descriptive test name, setup, assertion, and the regression it would catch. Rank by risk and tie the recommendation to a changed behavior or branch. Do not assume a test is absent from the whole repository just because it is outside the diff. Skip tests that only mirror implementation or cosmetic restyling. Flag missing context when it prevents a useful recommendation. Use the context below for the diff, programming language, existing test coverage if known, and expected behavior. Context:

Make this template your own

Copy the prompt and add your context before using it. Adjust the task, audience, and output to fit your needs.