Warning · Test quality
Impact
The test can pass even if a mismatched `Hold` deletes the valid marker when restoration fails.
Recommended action
Add a mismatched-token case that blocks restoration and asserts both rejection and preservation of the original marker contents.