Adding method and test to list the names of parameters in the Parameterized type