feat #439 Improve widget test case

Improve the class WidgetTestCase by providing a dedicated test area and a method to create and initialize the widget under test

Close #439