Wrap each test in a transaction