finished writing encode, decode, read and write utf8, init testing