Added unit tests for splitting the string to be serialized in the cookie...

Here are the tests (but I couldn't run it in the develop branch. I used master to test because of errors w/ the grails 2.2.0 version. Weird though.