Tests to illustrate the problem with duplicate ids