implementing tests for the geolocator directive