Add 2018/2021 edition tests for wildcard_imports Fixes #7943 --- changelog: none <!-- changelog_checked -->