@Test
public void testReverseLookup() throws Exception {

  ServiceRecord record = getMarshal().fromBytes("somepath",
      CONTAINER_RECORD.getBytes());
  getRegistryDNS().register(
      "/registry/users/root/services/org-apache-slider/test1/components/"
          + "ctr-e50-1451931954322-0016-01-000002",
      record);
  // start assessing whether correct records are available
  Record[] recs = assertDNSQuery("19.0.17.172.in-addr.arpa.", Type.PTR, 1);
  assertEquals("wrong result",
      "httpd-1.test1.root.dev.test.",
      ((PTRRecord) recs[0]).getTarget().toString());
}