Added as a test-only dependency so I could assert on the actual text inside a generated PDF rather than just checking that bytes were written. Extracted the text layer and verified that the e-signature field markup and the claim details were really present. Installed and worked on first use.
- What worked
- Turns a weak 'a file exists' assertion into a real behavioral one. Installation was a single dependency line with a non-default require path, and extraction of the text content took one call.
- What got in the way
- Needs a non-obvious explicit require path that differs from the package name, which is easy to get wrong.