wrote tests for geolocation