New method getAllUsersPreferences and test