test: strip trailing punctuation during URL extraction
make extraction tests pass