make tree popup menu item tester able to use submenus
fix context menu checking according to changes in Insight itself