Prime tester class