test existence of preferenceDictionary