add testcases and read one testcase