Fix some more msgpack bugs and actually write some msgpack tests