Adding tests
fix newline at EOF
Merge branch 'hotfix/5476'

Close #5476
Fixes #5475
Merge pull request #5497 from Kil0p/fix-fprg

fix for fprg
[#5497] CS fixes

- function declaration, braces, whitespace
Merge branch 'hotfix/5497' into develop

Forward port #5497