Refactoring in Codegen Tests
Mark deprecated as a warning
 #KT-3252 Fixed
Rename parameter