Fix test struct Write len is lenning incorrect []byte