Add new lower-level tests for locate module, incl. edge-case tests.

Using the new GeoIPMock, we can more easily test a country-only result
and also test the anomaly cases (multiple mccs, mcc/geoip country mismatch).