@Override
  public void register(String path, ServiceRecord record) throws IOException {
    op(path, record, addRecordCommand);
  }
@Test
  public void testMultiARecord() throws Exception {
    ServiceRecord record = getMarshal().fromBytes("somepath",
        CONTAINER_RECORD.getBytes());
    ServiceRecord record2 = getMarshal().fromBytes("somepath",
        CONTAINER_RECORD2.getBytes());
    getRegistryDNS().register(
        "/registry/users/root/services/org-apache-slider/test1/components/"
            + "ctr-e50-1451931954322-0016-01-000002",
        record);
    getRegistryDNS().register(
        "/registry/users/root/services/org-apache-slider/test1/components/"
            + "ctr-e50-1451931954322-0016-01-000003",
        record2);

    // start assessing whether correct records are available
    List<Record> recs =
        assertDNSQuery("httpd.test1.root.dev.test.", 2);
    assertTrue("not an ARecord", recs.get(0) instanceof ARecord);
    assertTrue("not an ARecord", recs.get(1) instanceof ARecord);
  }