finalizing testcases