Issue #92 fix and test

Fixing issue #92 and adding regression test. Bug was: Mixup of content and chunk checksums