Test_split bug fixing, docs and new test