Add more tests
Fix unsigned issue

- Change to a typedef for codepoints (cp)