Whoops, there was a buggy test. Also, while here, might as well change assertTrue to assertEqual
[#1] If a line ends with ..., then append the next line to it rather than a new one.
[#1] Minor code cleanup.