Fix unit test regressions in MenuView.
Review Request #13751 — Created April 18, 2024 and submitted — Latest diff uploaded
This updates the MenuView unit tests to set and check IDs on the menu.
This regressed in the recent ID fix, since we were auto-generating an ID
but never checking for it in tests.
Unit tests pass.