testcases controller