Remove unused imports in tests (GH-14518)

53 files changed