Fixing CMake for new tests

[#60363094]