Enforce non-negative completed_length

Also skip simplecov causing segfault.
Enforce non-negative completed_length

Also skip simplecov causing segfault.
Merge branch 'non-negative-completed_length-fix' into betterplace