Use TEST_SHA1 constant in checksum tests