Added test for parameterized anonymous classes