/**
  * Any test unspecific cleaning that needs to be done.
  *
  * @throws IOException
  */
 @AfterMethod
 @Override
 protected void testCleanup() throws Exception {
   super.testCleanup();
   if (em2.getTransaction().isActive()) {
     em2.getTransaction().rollback();
   }
   if (em3.getTransaction().isActive()) {
     em3.getTransaction().rollback();
   }
 }