Made changes to GenericMethodTest class