Optimized test_prime
Merge pull request #28 from cdkr/patch-1

Optimized test_prime