added the filtering and ranking pref test case