Make bitcoind support a test mode