fix the CMakeList.txt and add test main.cpp