#511286 follow-up by DamZ: Make testMenuGetNames() less brittle (and also fix it so we can turn testing bot back on).