Issue #3299024 by amarlata, reenaraghavan, quietone, larowlan: EntityReferenceFormatterTest should use ->label() (cherry picked from commit 94a40596)