Completed split() interface and its tests