Add negative tests for MsgAddr.

This commit adds tests for the error paths when encoded and decoding
MsgAddr.