Using the imagerySet method doesn't change the Map layer.
Regression introduced with R1 2023
The imagery set isn't changed to aerialWithLabels
The imagery set should be changed to aerialWithLabels