Working serialization tests