tests location update in controller