Task 54279: Backport geolocation new-style tests

Checked out tests/ at 6bc1510 (initial port) and backported to 3.6.1