Renamed test
Correct use of generics can reduces casting