@Test
  public Image testPropertyHistogramPlot() {
    Connection c = null;
    try {
      initDatasource();
      c = datasource.getConnection();
      IStoredQuery q = new StoredQuery(13); // this is dataset now
      q.setName("IRISTR: EPA Integrated Risk Information System (IRIS) Toxicity Review Data");
      XTabChartGenerator gen = new XTabChartGenerator();
      gen.setBinWidth(0.001);
      gen.setConnection(c);
      gen.setPropertyX(Property.getInstance("Inhalation_UnitRisk_micromol_per_m3", ""));

      // gen.setPropertyY(Property.getInstance("Cramer Class", ""));
      gen.setPropertyY(Property.getInstance("Oral_RfD_Confidence", ""));

      return gen.process(q);

    } catch (Exception x) {
      x.printStackTrace();
      return null;
    } finally {
      try {
        c.close();
      } catch (Exception x) {
      }
    }
  }
  @Override
  protected void verify(SearchStoredQueries query, ResultSet rs) throws Exception {
    int count = 0;
    while (rs.next()) {
      IStoredQuery q = query.getObject(rs);

      Assert.assertTrue(
          ((q.getId() == 1) && (q.getName().equals("test query 1")))
              || ((q.getId() == 2) && (q.getName().equals("test query 2"))));
      count++;
    }
    Assert.assertEquals(2, count);
  }