Add testing stuff to CMake documents.