Add log testing

8/10 of SetLogWriter tested
sync bitcoind script tests