Errortest

Added blockchain.go tests for the errors.