Added test for invalid url