Fix to make SessionTest pass again.
Wrapped the body of method SessionTest#testRoot() in TransactionHelper#runInTransaction(Runnable).