Fix line collection arguments in tests, thanks @ahocevar