Failing test for sorting duplicate integers