test_pdiff function

Test a hypothesis about a difference in proportion