add BigInt test for isprime

This test is needed because isprime use GMP's `__gmpz_probab_prime_p` for `BigInt` integers.