First testcase code_generator