Added test for updating location data