Add LineServiceImplTests package and test class, edit LinesServiceImpl