Add URL-parsing test cases

Bonus points: we pass the tests!