fix split bugs, add new test in test-case