Add test on Type.java to fix quality flaw.
SONARJAVA-478 Fix case of unused variables false positive.

Problem was due to bad Env used for resolution of identifier in the case
of an anonymous class withing a MemberSelectExpression.