Added test main method to PiEstimatorKernel