Fix forgotten local declarations
Add failing test: check for chi2 return
Add failing test: check chi2 is inf for out-of-bound
Pass new test

We had a forgotten return
Merge pull request #20 from jucor/chi2OutOfSupport

Chi2 test does not always return the chi2 value