Add test for line numbers after trailing spaces

Now I realize my test name is not quite right.

Anyway, trailing space followed by a newline mess up line numbers following it.