Tests & fixes for list serialization