Add another layer of transaction rollbacks for alert tests
Add another layer of transaction rollbacks for alert tests

The alert test function was dangerous, as if it was called without
manually wrapping in a transaction and rolling back it could corrupt
the database. Make sure it's always rolled back

maks-us/cabot,maks-us/cabot,maks-us/cabot,arachnys/cabot,arachnys/cabot,arachnys/cabot,maks-us/cabot,arachnys/cabot