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