Thorough testing for hash-str.