Serialization tests revised