Added Test for Generics