Unit tests for charset conversions

Added test cases for:

1. libraries/char*
2. libraries/iconv*
3. libraries/kanji*