Fix the tests to work with MKL