Add tests for widgets.