Added tests for Bitcoin.java