little sanity check for checksum calculation