added a test for the Cache of Generics