Unit tests for split.