Fix array size bug for high code points
Fix a test