tests: test class
cc_class::constructor: fix print method
cc_class::destructor: fix print method