Added test case to check if the proper attributes are set on html widgets.