TxBuilder: add more failing cases and add error handling