Fix sha1 test