Add unit test for split()