consistent hashing and test