Added bitcoin-cli command and ad and tests