Added test for ReplicatedConsistentHashFactory, fixed bug in ReplicatedConsistentHash