implement url tests

hey @ForbesLindesay 

here is a first batch of functions - I am currently on holidays in bavaria so I am not online every evening