Add log testing

Since i have been playing around with btcscript lately, i added some unit tests for ```log.go```.

8/10 of SetLogWriter tested