implement TestTryUpdateUnspentTx