test consistent hash