#1810 added a unit test to check the evaluation of newly added special functions and fixed a bugs in the interpreters.