A self-check served its own sample through the same tally the real run reads at the end. Its serve marked a shared item as used, so a real page that never got that item passed the final check.
Keep a test's traffic out of the totals it audits. Its own hits cover a real miss.
Clean up test state on the error path too. A cleanup only on success leaks the first time it matters.
Clean up test state on the error path too. A cleanup only on success leaks the first time it matters.