tests for checksum