assert that all transactions are closed after a test