location management in ez_preferences + tests, CLEANUP