Added a unit tests for Line