Added CMake for testing.