JUnit Test Cases for Line Class