Fixed g_iconv() and g_convert(), improved unit test