test the use of geofences