Add tests for the ChiSquare Distribution

Confirm that the patch submitted in #114 successfully fixes issue #98.
Close #98.