add codegen test file