bitcoin-tx: Add test case for signing a tx