Add ability to parse by `java.net.URL`, which is less pedantic.

Also add in the standard tests.