Test abort_exception decorator