Move split.line to helpers and comprehensive tests for it. Also roxygenize
Merge pull request #97 from RomanTsegelskyi/split.line.testing

Split.line refactoring and testing