@AfterClass
  public static void classLevelTearDown() throws IOException {
    SessionState.get().close();
    primary.close();
    FileUtils.deleteQuietly(new File(jksFile));
  }
Test ParseUtils to see if a staging dir is created.
itests/hive-unit/src/test/java/org/apache/hadoop/hive/ql/parse/TestParseUtilsStagingDir.java