Fix in tests because of problems on CRAN