Test serialization/deserialization of a feature