Test uniq when string is input.