Test error condition.