add testcases for test programs