@Test
public void testTopicNameReifiers() {

  TopicIF topic = builder.makeTopic();
  TopicNameIF bn = builder.makeTopicName(topic, "test");
  TopicIF r1 = builder.makeTopic();
  bn.setReifier(r1);
  builder.makeTopicName(r1, "r1");
  TopicNameIF bn2 = builder.makeTopicName(topic, "test");
  TopicIF r2 = builder.makeTopic();
  bn2.setReifier(r2);
  builder.makeTopicName(r2, "r2");
  DuplicateSuppressionUtils.removeDuplicates(topic);
  Assert.assertTrue("duplicate base names were not removed",
             topic.getTopicNames().size() == 1);
  bn = (TopicNameIF) topic.getTopicNames().iterator().next();
  r1 = bn.getReifier();
  Assert.assertTrue("reifier was lost", r1 != null);
  Assert.assertTrue("reifiers were not merged", r1.getTopicNames().size() == 2);
}