Use conditional imports to account for API changes in geopy 0.96.
Tests: Patch the public `geocode()` method, not the internal geocode_url().

(geocode_url has been factored out in geopy 0.96)
Use c.geo.mapwidget from source for tests until they release a geopy 0.96 compatible version.