tests: execute `addCleanup` cleanups with ZODB connection

unittest executes the cleanups after `tearDown`, after the ZODB
connection is closed, so accessing database objects cause errors.

According to python unittest documentation, it is safe to call
`doCleanups` ourselves when we need the cleanup to be executed earlier,
this is a typical case where we want the cleanup to be called before
closing the database connections.
7 jobs for feat/test_addCleanup in 0 seconds (queued for 1 second)
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-TestRunner1

00:36:34

passed ERP5.PerformanceTest-TestRunner1

00:26:51

failed ERP5.UnitTest-TestRunner1

01:51:32

failed ERP5.UnitTest-Zope2-ForTestRunner1

01:54:50

passed Wendelin.UnitTest-TestRunner1

00:58:37

failed ERP5.UnitTest-TestRunner1

01:12:48

failed ERP5.UnitTest-Zope2-ForTestRunner1

01:23:34