Turn some TestCase into TransactionTestCase following #20392