fix collatz test
return 1 on failed cases in doctest
Merge pull request #4 from m-a-t-h/feature/fix-test

fix collatz test