[cmake] disable all parallel tests when MPI wasn't found
When CMake didn't find MPI, all unit tests using MPI should be disabled to prevent them from failing to compile.
When CMake didn't find MPI, all unit tests using MPI should be disabled to prevent them from failing to compile.