testing line ends