add new functions to lib_conf.cpp and relative UnitTests