Add negative tests for MsgTx.

This commit adds tests for the error paths when encoding and decoding
MsgTx.  This commit also achieves 100% test coverage.