updated test with URL mock

passes empty string to mock URL dependency