fix testStringWriteHData3