add test_case for consistent_hash