Correctly determine if popped replica candidates are different.
Decrease maximum number of nodes in TestExhaustive.

To actually make test pass for now. But in future local search that is
used for balancing R should be improved.
Factor out setup function to prepare environment for tests.
Give the test more meaningful name.
Factor out function for trivial tags generation.
Test that generated RI adheres satisfies slave properties.