Added testcase for use_class_enhancer