CMake: documented testing procedure