Renamed Metadata.Metadata_set to Metadata.Set in tests