Use transactions when testing