update test.
fix bug handling unconfirmed txs
Merge pull request #75 from matiu/bug/fix-unconfigmed-tx

Bug/fix unconfigmed tx