base tests for widgets