Added tests for nextSplit and fixed a bug in toString that was calling String's c'tor with an ending offset instead of length