Test ExportSpecs and PatFields.