Modified spec on error.