Tests that exceptions and rollback are working.