Added test for Class definitions