calculatePrimeControl test.