added some tests for Class generation

Added tests to assert if we can create a class and can add a base type
as well