Add test for URLWrapper

Code coverage: 98%!