Added extra test case when url is null.