[safestack] update driver test and codegen test