@Test
	public void testECPointBigIntegerBooleanProba() {
		final int TEST_COUNT = 2000;
		int success = 0;
		for (int i = 0; i < TEST_COUNT; i++) {
			// Generate x
			final BigInteger x = new BigInteger(256, SECURE_RANDOM).mod(N);
			try {
				new ECPoint(x, RAND.nextBoolean());
				success++;
			} catch (final IllegalArgumentException iae) {
				// try again
			}
		}
		final double gain = success / (double) TEST_COUNT;
		System.out.println("Success: " + gain); //$NON-NLS-1$
		Assert.assertTrue(gain > 0.45 && gain < 0.55);
	}