tests for stri_duplicated_any with fromLast=FALSE and TRUE