add a test case with all array elements are duplicates