Fix delete test
Switch from iconv to String.encode