Test if getHash is stable