Testing scoped preferences.