turning prefs into pref object in first test