Added clearer error message in SHA test.