Fixed #20483 -- Made TransactionTestCase faster.