added function installMinprimes, added simple tests