Fix and test send-tx.