Unreviewed, add unittest after r191827.