test with prefs