Added a test to TestURLValidator that fails (but should not).

An invalid URL should be reported as an Invalid exception. However, it is reported as ValueError. The URL in the test case starts with the invalid character '['.