Cleaned up Menu._display_all_menu_commands() tests.