fixed estimated_tx_value
refactored tests