Add a proper test for menu_entry