Add tests for submenu availability.