URL should also accept None, as that is what we use in tests sometimes.

This commit also fixes some broken tests, and adds verbosity to some asserts.