Split tests, added tests, added isPrime(), added options