Added unittests for primes.rb
Added nice testcases for the formula generation. Found a bug! Fixed it.
Added testcase using Mocha