iconv: test: Use g_assert_cmpuint
iconv: test: Simplify test setup
iconv: test: Simplify test setup