Dynamic Code generation test