testcase template and c++ external parser