added two unit testcase