Test Illustrating Issues with NaNs from Hypergeometric PDF

The hypergeometric distribution PDF will sometimes return NaN when the population and sample sizes are large (in the thousands). I have added a test to illustrate this issue, which duly fails. I do not know how the test can be induced to pass, beyond the vague admonition to "apply better numerical methods" in the calculation of the PDF.