Started Unit test for Segment class