Rewrote the test for a file truncated by 5000 bytes.  #180