tests: add basic tests

closes #5
Cache URLs based on original value
Simplify the "fast-path" RegExp
simplify a lot using fast-url-parser