test line ends