add test for lines