Added some specs for class hierarchy and class methods