Adding error checks to URL tests to prevent missing errors sue to DEBUG mode.