[PRD-4552] embedded function in params was replacing main one if same name
git crlf conflict
[PRD-4552] test case
Merge pull request #195 from tgf/prd-4552

[PRD-4552] embedded function in params was replacing main one if same name