Fixed and verified multi-language function tests
correction
Merge pull request #2021 from aparajit-pratap/fixLangFunctionTests

Verified and fixed language function tests