Fix copy and pasto with CMake files for unittest.