fix testStringWriteHData1