pull out this testing sub into a separate file for reuse
check for odd number of elements by testing length first
also properly handle lists where tuple keys are repeated
Test-Deep-UnorderedPairs-0.003

          - properly handle testing of lists where tuple keys are repeated
            (RT#85470)