tests for stri_duplicated