/**
* Creates a cluster of uniquely named CopyCat contexts.
*/
protected Set<Copycat> createCluster(int numInstances) {
LocalProtocol protocol = new LocalProtocol();
Set<Copycat> instances = new HashSet<>(numInstances);
for (int i = 1; i <= numInstances; i++) {
LocalClusterConfig config = new LocalClusterConfig();
config.setLocalMember(String.valueOf(i));
for (int j = 1; j <= numInstances; j++) {