fixed test with CMakeLists.txt