Fix sha512 golden test.