* Preferences Dialog: added unit tests for PreferencesViewModel.