testserial : fix loop for data-hex