Fixed handling of coinbase tx
test_spend_coinbase