SONARJAVA-773 Unused local variable: add test for lambdas