updated HashFunction tests