make tree popup menu item tester able to use submenus
fix context menu checking according to changes in Insight itself
Merge pull request #1606 from mtbc/insight-ui-menu-tests-11518

fix #11518: update Insight UI context menu tests