Fix large prime test