[trivial] Simplify byLine unittest code

Don't wrap `testTerm()` with default arguments - the code is clearer without the extra function and with explicit arguments.

Note: `byLine()` with default arguments is still tested in the unittest below this one.