Add string serialization tests