Serialization tests added