Added tests to CMake solution.