Test serialization and deserialization for Ring Mod128