The char_names array references Unicode Character 0x0670 twice with the keys SMALL_ALEF and MINI_ALEF.
This is casing the method isSamll() to fail when passed a small Alef, because the the array search return the first key SMALL_ALEF.
The duplication must be resolved by removing one of the two elements.