Bug 10289: (follow-up) wrap tests in transaction