Fix state_test bug -- include PubKey in TxInput