Added test for duplications