Improve basic_widget_functionalities test