Refactoring mainmenu.lua.
[TestLua] The menu item of Tests which is not supported will be disabled.
Merge pull request #2315 from dumganhar/master

[TestLua] The menu item of Tests which is not supported will be disabled.