Simplify code_prep.split_line, fix it's unit test.
I presumed that the failing unit test was wrong and the previous implementation was working as it should.