Extend analysis scope of java:S1128 (unnecessary imports) - test scope

Hello @lrozenblyum,

Your suggestion is a particular case of this one:

There is certainly not only java:S1128 which would be valuable for tests.
Cheers,
Michael