[add] test of hash functions