Test date serialization as iso8601