Work on CMake in tests.