add tests to get next line