add test case for generateDesign with replacement of duplicates enabled