Do we need to echo $URL? If they are meant as informational in the test output, I would suggest at least noting what these urls mean in the output. I'd be OK with removing them as well (here and 3X below).