OZP-801: move pref tests to legacy/prefs package