Set test = Utils.getImagesinPID(result);
Set test = Utils.getImagesinPDI(result);
    public void testImageThumbnailExplodsOnHessianSerialization() {        Set imgIds = new HashSet();        imgIds.add(new Integer(1191));        imgIds.add(new Integer(4665));        imgIds.add(new Integer(1304));        imgIds.add(new Integer(4977));        imgIds.add(new Integer(3540));        imgIds.add(new Integer(2064));        Set result = hb.findPDIHierarchies(imgIds);        Set test = Utils.getImagesinPID(result);        assertTrue("Images in should eq. images out",imgIds.size()==test.size());    }