Changed the primes test on the C# side