Added tests for menu commands.