Fixed some code generation, and actparams
New, simple test file without Out and In