public void testBinaryCycAccess16() {
    System.out.println("\n**** testBinaryCycAccess 16 ****");

    CycAccess cycAccess = null;
    try {
      try {
        if (connectionMode == LOCAL_CYC_CONNECTION) {
          cycAccess = new CycAccess(testHostName, testBasePort);
        } else if (connectionMode == SOAP_CYC_CONNECTION) {
          cycAccess = new CycAccess(endpointURL, testHostName, testBasePort);
        } else {
          fail("Invalid connection mode " + connectionMode);
        }
      } catch (Throwable e) {
        fail(e.toString());
      }

      //cycAccess.traceOnDetailed();
      try {
        if (!(cycAccess.isOpenCyc())) {
          List genls = null;
          CycConstant carAccident = null;
          carAccident = cycAccess.getKnownConstantByGuid(CAR_ACCIDENT_GUID_STRING);
          genls = cycAccess.getGenls(carAccident);
          assertNotNull(genls);
          assertTrue(genls instanceof CycList);

          Iterator iter = genls.iterator();

          while (iter.hasNext()) {
            Object obj = iter.next();
            assertTrue(obj instanceof CycFort);
          }

          List coExtensionals = null;
          coExtensionals = cycAccess.getCoExtensionals(carAccident);
          assertNotNull(coExtensionals);
          assertTrue(coExtensionals instanceof CycList);
          iter = coExtensionals.iterator();

          while (iter.hasNext()) {
            Object obj = iter.next();
            assertTrue(obj instanceof CycFort);
          }
        }
      } catch (Throwable e) {
        e.printStackTrace();
        fail(e.toString());
      }

    } finally {
      if (cycAccess != null) {
        cycAccess.close();
        cycAccess = null;
      }
    }
    System.out.println("**** testBinaryCycAccess 16 OK ****");
  }