Added some bitcoinj test code