unit test to check possibility to get and then update locations with generic file