Added specs for #split
Implemented #split