add class object test case and implicit test case