shrink dup code and add specs for twice-or-more default value specification