fixed p-value computation in test of coefficients