Fixes #5 (closed) or chunking, and adds the tests which I used to hunt this down. The testing could be more thorough, like for example with quickcheck, but this should get things forward either way. Quickcheck tests added.
Fixes #5 (closed) or chunking, and adds the tests which I used to hunt this down. The testing could be more thorough, like for example with quickcheck, but this should get things forward either way. Quickcheck tests added.