match testcases to call