CDITCK-416 Extend tests for BeanAttributes#getTypes() with generic scenario

Test both
- bean with generic class
- bean extending raw type of generic superclass