2 more splitLine tests
Added more tests for splitLine and refactored it
Merge pull request #110 from RomanTsegelskyi/split.line.tests

More tests for splitLine