Use transactions in specs