Duplicate element test case