adding a test for const/non-const duplicates, no change in behaviour yet