Using QUnit for unit testing.
Adding tests for previous actions to the load of widgets
Adding tests for the widgets after the init method has been called.
defining structure to test afterRequest