corrected output
Tweaked tests to save on memory consumption. Now repeat string split to save memory, at the expense of cpu of course.