Fix issue with unused code in fixture context
Clean up on UserPreferencesListenerTest
Remove useless code on LocaleManagerTest