mainly focus on testcase for class