Improve serialization tests.
Fix deserialization when limb size is larger than that of the original archive.