@AfterClass
public static void deleteTestEntities() throws Exception {
Session session = sessions.openSession();
Transaction transaction = session.getTransaction();
transaction.begin();
session.delete( new Hypothesis( "1" ) );
session.delete( new Hypothesis( "2" ) );
session.delete( new Hypothesis( "3" ) );
session.delete( new Hypothesis( "4" ) );