Added a small test for generics