Add unittests for the new `-u` option.