Format testcases