Tested getHash.