Fixed CMakeLists for functions parameters test
Cleaned source code