Ensure transaction rollback for tests