Fixing the suite to handle properly the transaction for EntityManagers.