Add test for splitting
First version of splitting working