Add WIP test for generics