Unit Test to check functions in the Widget Base Class