added a p-value calculation for the confidence interval testing