tests: fix sha1 calculation for non-random_blob