Moved primecount::test() into library