@AfterClass
  public static void onetimeTeardown() throws Exception {
    Driver driver = createDriver();
    driver.run("drop table t1");
    driver.run("drop view v1");
  }
Test if ReadEntity isDirect flag is set correctly to indicate if
the entity represents a direct or indirect dependency. See documentation
of flag in ReadEntity.
ql/src/test/org/apache/hadoop/hive/ql/plan/TestReadEntityDirect.java