fixed pref test