Added tests for most of the errors
Added most of the other methods for blockchain.go
Added colordef stuff