Wrote a test, broke out array splitter into own class