finish testcase & tests