Stop using transaction.commit and self.stepTic in unit tests