generics in test