Added tests for v2 widget and widgetset endpoints. bugid:112503