fix widget-import-warning test

wasn't updated with warning changes
Merge pull request #7211 from minrk/warning-test

fix widget-import-warning test
enable test coverage on coveralls