Fix the sha1 test