Updated CMake project for test_issue_566