Add a basic test of {send,recv}msg.

#428 will need some refactoring, don't want to break the basic support that's already there.