The widget is only used inside the tests and reinitialized each time, no need for a class member variable.