added geolocation channel + shims for globals in tests