Add test to CMake