Increased the timeout to 60 seconds but the test-widgets timing out at 300 ms;
Changed the name of the producerFunction to renderFunction;
The render's done method will get the widget passed to the function as parameter;
Added a test to ensure that the render's done method gets the widget as parameter;