Added unit tests for lines