Fix splitAtLine, better test.