fix: in modstd.lib: pass the correct ideal to primeTest()