Speed up tests for systems without GMP or Pari