add test for clicking on root element for widgets