Add test case for new splits implementation

As requested in https://github.com/haskell/cabal/pull/1191 a test case comparing the two implementations of splits. Would have been a good fit for QuickCheck, but I did not want to add dependencies to the test suite, so I added representative examples to the HUnit test.