Added testcase for class enhancer