Changed test_widget_component to be a better test