Unit test for invalid url.