Adding testcase callback