added test for AbstractWidgetAware class