Unit Tests That Fail for the Splitting of the input to partitions

Please run this with your test suite. I am testing a private method (exploiting groovy's reflection capabilities). I have also a subsequent pull request for the cookie-session-plugin (please check that too) to fix this. I didn't develop in the develop branch because it was throwing errors because of the upgrade to 2.2.0.