pref test substring