added checksum verification to tests